package message.validate.demo.service;

import lodsve.core.configuration.EnableLodsve;
import lodsve.validate.core.NeedValidate;
import message.validate.demo.pojo.Demo;
import org.springframework.stereotype.Service;

/**
 * .
 *
 * @author sunhao(sunhao.java@gmail.com)
 * @version V1.0, 2014-12-3 21:36
 */
@Service
@EnableLodsve
public class DemoService {
    @NeedValidate
    public void save(Demo demo){
        System.out.println("save success!");
    }
}
